Skip to content

Conversation

@akademy
Copy link
Member

@akademy akademy commented Nov 25, 2025

Instead of setting each parameter individually, we can just pass in auth from useAuth.

This also adds an extra menu item to the User menu so that users can see their Keycloak profile page.

@akademy akademy requested a review from RhysMAdey December 16, 2025 13:32
};

it("should render", () => {
renderWithProviders(<User auth={authDummy} />);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need any assertions after this to check its rendered?

Copy link
Member Author

@akademy akademy Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just put these in to test the testing system and to test the component doesn't crash, etc.

It doesn't need to test the specifics of the implementation of User, as that's what the subsequent tests do.

@RhysMAdey
Copy link
Collaborator

Other than the one comment above looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants